<?php
define('FACT',6);
$factorial = 1;

for($i=FACT ; $i>=1 ; $i--)
{
  $factorial = $factorial*$i;
}
echo  $factorial;
